/**  
 * 
 */
package com.astrocsr.domain.bean;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "TBL_MODULE")
public class TblModule implements java.io.Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	// Feilds
	@Id 
	@Column(name = "MODULE_CODE")
	private String moduleCode;
	@Column(name = "MER_NAME")
	private String merName; 
	@Column(name = "MODULE_NAME")
	private String moduleName;
	@Column(name = "CREATED_BY")
	private String createBy;
	@Column(name = "CREATED_DATE")
	private Date createdDate;
	@Column(name = "MODULE_URI")
	private String moduleUri;
	@Column(name = "ORDER_BY")
	private String orderBy;
	@Column(name = "PARENT")
	private String parent;

	/**
		 * 
		 */
	public TblModule() {
		super();
		// TODO Auto-generated constructor stub
	} 

	/**
	 * @param moduleCode
	 * @param merName
	 * @param moduleName
	 * @param createBy
	 * @param createdDate
	 * @param moduleUri
	 * @param orderBy
	 * @param parent
	 */
	public TblModule(String moduleCode, String merName, String moduleName,
			String createBy, Date createdDate, String moduleUri,
			String orderBy, String parent) {
		super();
		this.moduleCode = moduleCode;
		this.merName = merName;
		this.moduleName = moduleName;
		this.createBy = createBy;
		this.createdDate = createdDate;
		this.moduleUri = moduleUri;
		this.orderBy = orderBy;
		this.parent = parent;
	}
 
	/**
	 * @return the merName
	 */
	public String getMerName() {
		return merName;
	}
	
	/**
	 * @param merName
	 *            the merName to set
	 */
	public void setMerName(String merName) {
		this.merName = merName;
	}

	/**
	 * @return the moduleCode
	 */
	public String getModuleCode() {
		return moduleCode;
	}

	/**
	 * @param moduleCode
	 *            the moduleCode to set
	 */
	public void setModuleCode(String moduleCode) {
		this.moduleCode = moduleCode;
	}

	/**
	 * @return the moduleName
	 */
	public String getModuleName() {
		return moduleName;
	}

	/**
	 * @param moduleName
	 *            the moduleName to set
	 */
	public void setModuleName(String moduleName) {
		this.moduleName = moduleName;
	}

	/**
	 * @return the createBy
	 */
	public String getCreateBy() {
		return createBy;
	}

	/**
	 * @param createBy
	 *            the createBy to set
	 */
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	/**
	 * @return the createdDate
	 */
	public Date getCreatedDate() {
		return createdDate;
	}

	/**
	 * @param createdDate
	 *            the createdDate to set
	 */
	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	public String getModuleUri() {
		return moduleUri;
	}

	public void setModuleUri(String moduleUri) {
		this.moduleUri = moduleUri;
	}

	public String getOrderBy() {
		return orderBy;
	}

	public void setOrderBy(String orderBy) {
		this.orderBy = orderBy;
	}

	public String getParent() {
		return parent;
	}

	public void setParent(String parent) {
		this.parent = parent;
	}
 
}
